﻿using Domain;
using Domain.Entities;
using FrameworkCore.Attributes;

namespace AiBLSmartEdu.Module.SmartChemistry.API.DTOs;

/// <summary>
/// 生物问题答案
/// </summary>
[Map(typeof(ChemistryAsk))]
public class ChemistryAskOutputModel
{
    /// <summary>
    /// 唯一标识
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 询问的问题内容
    /// </summary>
    public string? Question { get; set; }

    /// <summary>
    /// 回复的内容
    /// </summary>
    public string? Answer { get; set; }

    /// <summary>
    /// 消息类型
    /// </summary>
    public MessageType Type { get; set; }

    /// <summary>
    /// 是否收藏
    /// </summary>
    public bool IsFavorited { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime? Created { get; set; }
}
